package com.lizhi.yun.db.sfrobot.entity;

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 按患者类型统计患者数量
 */
@Data
@ToString
//@Entity
//@Table(name = "his_sum_training")
@Description("训练统计")
public class SumTraining {
    @Id
    @Description("记录id")
    public Long id;
    /**
     * 医院id
     */
    @Column
    @Description("医院id")
    public Long hisId;
    /**
     * 患者类型
     * 必填
     */
    @Column
    @Description("患者类型")
    public Integer robotType;

    @Column
    @Description("训练类型")
    public Integer trainingType;

    /**
     * 数量
     */
    @Column
    @Description("数量")
    public Integer count;
    /**
     * yyyyMMdd
     */
    @Column
    @Description("日期标记")
    public Integer dateKey;
    /**
     * 创建时间，只到年月日，每天一条
     */
    @Column
    @Description("创建时间")
    public Date createdTime;
}
